function Person() {};

Person.prototype.name = 'Katrina';
Person.prototype.age = 18;
Person.prototype.job = 'student';
Person.prototype.sayName = function() {
    console.log('Hello, my name is' , this.name);
};


let p1 = new Person();
let p2 = new Person();
p1.sayName();  // Hello, my name is Katrina

console.log(p1.sayName === p2.sayName);  // true


console.log(Object.entries(Person.prototype))

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

